package com.xingxing.service;

import com.xingxing.entity.CostRecord;
import com.xingxing.entity.GroupByMonthEntity;
import com.xingxing.entity.LogEntity;

import java.util.List;
import java.util.Map;

public interface LogService {
    List<LogEntity> findAll();

    LogEntity findByCardId(String cardId);

    int updateLog(String userCardId,float cost,String date);

    List<GroupByMonthEntity> groupByMonth(String userAccount);

    List<CostRecord> findDailyCostByUserAccount(Map<String, Object> map);

    List<CostRecord> findMonthCostByUserAccount(Map<String, Object> map);

}
